package interfaces;

import java.io.Serializable;
import java.util.List;

public interface CRUD<T> extends Serializable {
    
    
    public void create(T bean);
    
    public void remove(T bean);
    
    public void update(T bean);
    
    public T retrieve(Object id);
    
    public List<T> listAll();
    
    public List<T> listByIndex(Object index);
          
}
